<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Trustee.ascx.vb" Inherits="WebForms_Trustee" %>
<%@ Register Src="../WebControls/ClientSearch.ascx" TagName="ClientSearch" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

<div id="divMain" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" width="800">
        <tr><td style="font-size: 3px;height: 5px;"></td></tr>
    </table>

    <table border="0" cellpadding="0" cellspacing="0" width="800">
        <tr>
        <td id="name_td" runat="server" align="left" style="font-weight: bold; font-size: 10pt; font-family: Arial;">
        </td>
        <td></td>
        </tr>
        <tr>
        <td id="policy_td" runat="server" align="left" style="font-weight: bold; font-size: 10pt; font-family: Arial;">
            &nbsp;</td>
        <td></td>
        </tr>
        <tr>
        <td id="provider_td" runat="server" align="left" style="font-weight: bold; font-size: 10pt; font-family: Arial;">
        </td>
        <td align="right" style="font-weight: bold; font-size: 10pt; font-family: Arial; color: #d63007;">
            Add New Trustee
        </td>
        </tr>
    </table>

    <table border="0" cellpadding="0" cellspacing="0" width="800">
        <tr><td style="font-size: 3px; background-color: #105BA4; height: 3px;"></td></tr>
    </table>

    <br />
    <table border="0" cellpadding="0" cellspacing="0" width="800">
        <tr>
            <td align="left" style="font-weight: bold; font-size: 10pt; width: 800px; font-family: Arial; text-align: left">
                <asp:LinkButton id="lbtnSearch" runat="server" CausesValidation="False" ForeColor="#0C58A2">Search Existing Clients</asp:LinkButton>
                
            </td>
        </tr>
    </table>
    <uc1:ClientSearch ID="ClientSearch1" runat="server" Visible="false" />
    <table border="0" cellpadding="0" cellspacing="0" width="800" style="background-color: #f2f3f5">
        <tr><td style="width: 800px">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 5px;" align="left"></td>
            </tr>
            </table>
        </td></tr>
               
        <tr><td style="width: 800px">
        
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 28px;" align="left">
                    &nbsp;Name:</td>
                <td style="width: 690px; height: 28px;" align="left">
                    <asp:TextBox ID="LastName_txt" runat="server" Width="140px"></asp:TextBox><asp:TextBox ID="FirstName_txt" runat="server" Width="200px"></asp:TextBox><asp:TextBox ID="MiddleName_txt" runat="server" Width="130px"></asp:TextBox></td>
            </tr>
            </table>
            
        </td></tr>
        <tr><td style="width: 800px">
        
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 28px;" align="left">
                    &nbsp;Date of Birth:</td>
                <td align="left" style="height: 28px; width: 350px;">
                    <asp:TextBox ID="Birthday_txt" runat="server" Width="140px"></asp:TextBox><br />
                    <asp:Label ID="Label1" runat="server" Font-Names="Verdana" Font-Overline="False"
                        Font-Size="7pt" ForeColor="Gray" Text="dd/mm/yyyy" Width="64px"></asp:Label></td>
                <td style="font-size: 10pt; font-family: Verdana; width: 140px; height: 28px;" align="left">
                    &nbsp;Relationship:</td>
                <td align="left" style="height: 28px; width: 200px;">
                    <asp:DropDownList ID="Relationship_cmb" runat="server" Width="194px">
                    </asp:DropDownList></td>
            </tr>
            </table>
            
        </td></tr>
        <tr><td style="width: 800px">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 28px;" align="left">
                    &nbsp;Gender:</td>
                <td align="left" style="height: 28px; width: 350px;">
                    <asp:DropDownList ID="Gender_cmb" runat="server" Width="194px" /></td>
                <td style="font-size: 10pt; font-family: Verdana; width: 140px; height: 28px;" align="left">
                    </td>
                <td align="left" style="height: 28px; width: 200px;">
                    
                </td>
            </tr>
            </table>
        </td></tr>
        
        </table> 
        
        <table border="0" cellpadding="0" cellspacing="0" style="background-color: #e9e9e9; width: 800px;">
        <tr><td style="width: 801px">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 5px;" align="left"></td>
            </tr>
            </table>
        </td></tr>
        <tr><td style="width: 801px">
        
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 113px; height: 28px;" align="left">
                    &nbsp;Address:</td>
                <td style="width: 340px; height: 28px" align="left">
                    <asp:TextBox ID="Add1_txt" runat="server" Width="344px"></asp:TextBox></td>
                <td style="width: 340px; height: 28px" align="left">
                    <asp:TextBox ID="Add2_txt" runat="server" Width="328px"></asp:TextBox></td>
            </tr>
            </table>
            
        </td></tr>
        <tr><td style="width: 801px">
        
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 28px;" align="left">
                    &nbsp;City:</td>
                <td style="width: 150px; height: 28px" align="left">
                    <asp:DropDownList ID="City_cmb" runat="server" Width="146px">
                    </asp:DropDownList>
                </td>
                <td style="font-size: 10pt; font-family: Verdana; width: 200px; height: 28px;" align="left">
                    </td>
                <td style="font-size: 10pt; font-family: Verdana; width: 140px; height: 28px;" align="left">
                    &nbsp;Country:</td>
                <td style="width: 200px; height: 28px" align="left">
                    <asp:DropDownList ID="Country_cmb" runat="server" Width="194px" AutoPostBack="True">
                    </asp:DropDownList></td>
            </tr>
            </table>
            
        </td></tr>
        <tr><td style="width: 801px">
        
            <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 28px;" align="left">
                    &nbsp;Zip Code:</td>
                <td style="height: 28px; width: 690px;" align="left">
                    <asp:TextBox ID="Zip_txt" runat="server" Width="140px"></asp:TextBox></td>
            </tr>
            </table>
            
        </td></tr>
        <tr><td style="width: 801px">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 5px;" align="left"></td>
            </tr>
            </table>
        </td></tr>
        
        </table>         
        
        <table border="0" cellpadding="0" cellspacing="0" width="800px" style="background-color: #f2f3f5">
        <tr><td style="width: 800px">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px; height: 5px;" align="left"></td>
            </tr>
            </table>
        </td></tr>
        <tr><td style="width: 800px">
        
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 114px; height: 24px;" align="left">
                    &nbsp;Telephone No:</td>
                <td style="width: 45px; height: 24px;" align="center"><asp:TextBox ID="T1_txt" runat="server" Width="40px"></asp:TextBox></td>
                <td style="width: 40px; height: 24px;" align="center"><asp:TextBox ID="T2_txt" runat="server" Width="32px"></asp:TextBox></td>
                <td style="width: 60px; height: 24px;" align="center"><asp:TextBox ID="T3_txt" runat="server" Width="56px"></asp:TextBox></td>
                <td style="width: 45px; height: 24px;" align="center"><asp:TextBox ID="T4_txt" runat="server" Width="40px"></asp:TextBox></td>
                <td style="width: 176px; height: 24px;">&nbsp;</td>
                <td style="font-size: 10pt; font-family: Verdana; width: 152px; height: 24px;" align="left">
                    &nbsp;Mobile No:</td>
                <td style="width: 45px; height: 24px;" align="center"><asp:TextBox ID="M1_txt" runat="server" Width="40px"></asp:TextBox></td>
                <td style="width: 40px; height: 24px;" align="center"><asp:TextBox ID="M2_txt" runat="server" Width="32px"></asp:TextBox></td>
                <td style="width: 60px; height: 24px;" align="center"><asp:TextBox ID="M3_txt" runat="server" Width="56px"></asp:TextBox></td>
                <td style="width: 58px; height: 24px;">&nbsp;</td>                
            </tr>
            <tr>
                <td style="font-size: 7pt; font-family: Verdana; color: #999999; width: 114px;">
                    &nbsp;</td>
                <td style="font-size: 7pt; font-family: Verdana; color: #999999; width: 45px;" align="center" valign="top">
                    Country</td>
                <td style="font-size: 7pt; font-family: Verdana; color: #999999; width: 40px;" align="center" valign="top">
                    Area</td>
                <td style="font-size: 7pt; font-family: Verdana; color: #999999; width: 60px;" align="center" valign="top">
                    Phone No</td>
                <td style="font-size: 7pt; font-family: Verdana; color: #999999; width: 45px;" align="center" valign="top">
                    Ext</td>
                <td style="width: 176px">&nbsp;</td>
                <td style="font-size: 7pt; font-family: Verdana; color: #999999; width: 152px; height: 19px;">
                    &nbsp;</td>
                <td style="font-size: 7pt; font-family: Verdana; color: #999999; width: 45px; height: 19px;" align="center" valign="top">
                    Country</td>
                <td style="font-size: 7pt; font-family: Verdana; color: #999999; width: 40px; height: 19px;" align="center" valign="top">
                    Area</td>
                <td style="font-size: 7pt; font-family: Verdana; color: #999999; width: 60px; height: 19px;" align="center" valign="top">
                    Phone No</td>
                <td style="width: 58px; height: 19px;">&nbsp;</td>                
            </tr>
            </table>
            
        </td></tr>
                    
        <tr><td style="width: 800px">
        <table border="0" cellpadding="0" cellspacing="0" width="800" style="height: 35px">
            <tr>                    
                <td style="font-size: 10pt; font-family: Verdana; width: 110px;" align="left">
                    &nbsp;ID Type:</td>
                <td align="left" style="width: 350px"><asp:DropDownList ID="IDType_cmb" runat="server" Width="146px">
                </asp:DropDownList></td>
                <td style="font-size: 10pt; font-family: Verdana; width: 140px;" align="left">
                    &nbsp;ID Number:</td>
                <td align="left" style="width: 200px">
                    <asp:TextBox ID="ID_Num" runat="server" Width="188px"></asp:TextBox></td>
            </tr>
        </table>            
        </td></tr>

        <tr><td style="width: 800px">
        <table border="0" cellpadding="0" cellspacing="0" width="800" style="height: 35px">
            <tr>
                <td style="font-size: 10pt; font-family: Verdana; width: 110px;" align="left">
                    &nbsp;Occupation:</td>
                <td style="width: 350px; font-size: 10pt; font-family: Verdana;" align="left">
                    <asp:TextBox ID="Occupation_txt" runat="server" Width="140px"></asp:TextBox></td>
                <td style="font-size: 10pt; font-family: Verdana; width: 140px;" align="left">
                    &nbsp;Ranking:</td>
                <td align="left" style="width: 200px"><asp:DropDownList ID="Ranking_cmb" runat="server" Width="194px">
                </asp:DropDownList></td>
            </tr>
        </table>            
        </td></tr>

    <tr><td style="width: 800px; height: 45px;">

        <table border="0" cellpadding="0" cellspacing="0" width="800" style="height: 35px">
            <tr>
                <td style="width: 400px; height: 24px;"></td>
                <td style="height: 24px">
                    <asp:Button ID="Save_btn" runat="server" Text="Save" BackColor="Gainsboro" Font-Names="Verdana" Width="104px" />
                </td>
                <td style="height: 24px">
                    <asp:Button ID="Cancel_btn" runat="server" Text="Back" BackColor="Gainsboro" Font-Names="Verdana" Width="112px" CausesValidation="False" />
                </td>
            </tr>
        </table>
            
    </td></tr>

    </table>
    <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" runat="server"
        TargetControlID="Add1_txt" WatermarkCssClass="WaterMk" WatermarkText="No., Street, Floor, Bldg.">
    </ajaxToolkit:TextBoxWatermarkExtender>
    <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender2" runat="server"
        TargetControlID="Add2_txt" WatermarkCssClass="WaterMk" WatermarkText="Brgy., Village, Area, District">
    </ajaxToolkit:TextBoxWatermarkExtender>
    <ajaxToolkit:MaskedEditExtender ID="MaskedEditExtender1" runat="server" Mask="99/99/9999"
        MaskType="Date" TargetControlID="Birthday_txt">
    </ajaxToolkit:MaskedEditExtender>
    <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender3" runat="server"
        TargetControlID="LastName_txt" WatermarkCssClass="WaterMk" WatermarkText="Last Name">
    </ajaxToolkit:TextBoxWatermarkExtender>
    <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender4" runat="server"
        TargetControlID="FirstName_txt" WatermarkCssClass="WaterMk" WatermarkText="First Name">
    </ajaxToolkit:TextBoxWatermarkExtender>
    <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender5" runat="server"
        TargetControlID="MiddleName_txt" WatermarkCssClass="WaterMk" WatermarkText="Middle Name">
    </ajaxToolkit:TextBoxWatermarkExtender>
    <div>
        <asp:RequiredFieldValidator ID="rfv7" runat="server" ControlToValidate="LastName_txt"
            ErrorMessage="Last Name Required" ForeColor="White" Text="."></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="rfv8" runat="server" ControlToValidate="FirstName_txt"
            ErrorMessage="FIrst Name Required" ForeColor="White" Text="."></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="rfv9" runat="server" ControlToValidate="MiddleName_txt"
            ErrorMessage="Middle Name Required" ForeColor="White" Text="."></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="rfv3" runat="server" ControlToValidate="Gender_cmb"
            ErrorMessage="Gender Required" ForeColor="White" Text="."></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="rfv6" runat="server" ControlToValidate="Relationship_cmb"
            ErrorMessage="Relationship Required" ForeColor="White" Text="."></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="rfv1" runat="server" ControlToValidate="City_cmb"
            ErrorMessage="City Required" ForeColor="White" Text="."></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="rfv2" runat="server" ControlToValidate="Country_cmb"
            ErrorMessage="Country Required" ForeColor="White" Text="."></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="rfv4" runat="server" ControlToValidate="IDType_cmb"
            ErrorMessage="ID Type Required" ForeColor="White" Text="."></asp:RequiredFieldValidator>
        <asp:RequiredFieldValidator ID="rfv5" runat="server" ControlToValidate="Ranking_cmb"
            ErrorMessage="Ranking Required" ForeColor="White" Text="."></asp:RequiredFieldValidator>
        <asp:CustomValidator ID="dtv1" runat="server" ClientValidationFunction="valDate"
            ControlToValidate="Birthday_txt" ErrorMessage="Invalid Date" ForeColor="White">.</asp:CustomValidator>
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
            ShowSummary="False" />
        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server"
            TargetControlID="rfv1">
        </ajaxToolkit:ValidatorCalloutExtender>
        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server"
            TargetControlID="rfv2">
        </ajaxToolkit:ValidatorCalloutExtender>
        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender3" runat="server"
            TargetControlID="rfv3">
        </ajaxToolkit:ValidatorCalloutExtender>
        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender4" runat="server"
            TargetControlID="rfv4">
        </ajaxToolkit:ValidatorCalloutExtender>
        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender5" runat="server"
            TargetControlID="rfv5">
        </ajaxToolkit:ValidatorCalloutExtender>
        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender6" runat="server"
            TargetControlID="rfv6">
        </ajaxToolkit:ValidatorCalloutExtender>
        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender7" runat="server"
            TargetControlID="rfv7">
        </ajaxToolkit:ValidatorCalloutExtender>
        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender8" runat="server"
            TargetControlID="rfv8">
        </ajaxToolkit:ValidatorCalloutExtender>
        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender9" runat="server"
            TargetControlID="rfv9">
        </ajaxToolkit:ValidatorCalloutExtender><ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender10" runat="server"
            TargetControlID="dtv1">
        </ajaxToolkit:ValidatorCalloutExtender>
    </div>
</div>
